/* 合作商管理接口 */
import request from '@/utils/request'

/* 合作商列表 */
export const partnerList = (data) => request.get('/api/user-service/partner/search', {
  params: data
})

/* 重置密码 */
export const resetPwd = (id) => request.put('/api/user-service/partner/resetPwd/' + id)

/* 删除合作商 */
export const delPartner = (id) => request.delete('/api/user-service/partner/' + id)

/* 修改合作商 */
export const changePartner = (id, data) => request.put('/api/user-service/partner/' + id, data)

/* 新增点位 */
export const addPartner = (data) => request.post('/api/user-service/partner', data)
